#include <stdio.h>
// A small question here.

int main()
{
    int c;

    while (c = getchar() != EOF)
        printf("%d\n", c);

    printf("%d - at EOF\n", c); //Only input in keyboard, I think will not get this line.

    return 0;
}